package com.hhit.bigscreenbackmanage.controller.jjgl;

import com.hhit.bigscreenbackmanage.entity.jjgl.TJjglTcxmWggcglgzbBqgbxm;
import com.hhit.bigscreenbackmanage.service.jjgl.TJjglTcxmWggcglgzbBqgbxmService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * 投产项目尾工过程管理跟踪表-本期关闭项目(TJjglTcxmWggcglgzbBqgbxm)表控制层
 *
 * @author makejava
 * @since 2021-07-21 11:47:03
 */
@RestController
@RequestMapping("tJjglTcxmWggcglgzbBqgbxm")
public class TJjglTcxmWggcglgzbBqgbxmController {
    /**
     * 服务对象
     */
    @Resource
    private TJjglTcxmWggcglgzbBqgbxmService tJjglTcxmWggcglgzbBqgbxmService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public TJjglTcxmWggcglgzbBqgbxm selectOne(String id) {
        return this.tJjglTcxmWggcglgzbBqgbxmService.queryById(id);
    }

}